FSpCreateResFile
FSSpec *spec ; filename to be opened OSType creator ; file's creator OSType fileType ; type of file ScriptCode scriptTag ; script code of the script system local to the file parameter. The creator parameter contains the signature of the application
that created the file, and the fileType parameter indicates what type of file it
is. The value of the scriptTag parameter should be the script code of the script
system in which the Finder and the standard file dialog boxes display the name
contains information about the file. Call the ResError function to check for errors.
The file system specification record is described in the File Manager ways of creating resource files in HFS. These routines are based on the